package com.infoauto.opc.gateway.service.impl;

import com.infoauto.opc.gateway.dao.AlsDefectRecordDao;
import com.infoauto.opc.gateway.model.AlsDefectRecord;
import com.infoauto.opc.gateway.service.AlsDefectRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AlsDefectRecordServiceImpl implements AlsDefectRecordService {
    @Autowired
    private AlsDefectRecordDao dao;


    @Override
    public int insert(AlsDefectRecord alsDefectRecord) {
        return dao.insert(alsDefectRecord);
    }

    @Override
    public int update(AlsDefectRecord alsDefectRecord) {
        return dao.update(alsDefectRecord);
    }
}
